import pytest
from log import test_log
from mail import send_mail
import os
if __name__ == '__main__':
    test_log()
    pytest.main(["-s","test.py","--alluredir=./baogao","--clean-alluredir"])
    os.system("-allure generate .baogao -o --clean")
    send_mail(["log.log","./报告/index.html"])
